#FROM bladex/alpine-java:openjdk8-openj9_cn_slim
FROM oracle/jdk:8-ol8

MAINTAINER smallchill@163.com

RUN mkdir -p /blade

WORKDIR /blade

EXPOSE 8800

RUN mkdir key
ADD ./key/publicCerts.keystore ./key/publicCerts.keystore

VOLUME /blade/app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
